package com.bdbit.ChargingStation.model;

/**
 * 订单记录
 *
 */
public class TransactionRecord {
    private String transactionId;
    private String userId;
    private String deviceId;
    private int amount; // 单位：分
    private String status; // PAID, REFUNDED
    private long timestamp;
    private Long refundTimestamp;
    
    // Getters and Setters
    public String getTransactionId() { return transactionId; }
    public void setTransactionId(String transactionId) { this.transactionId = transactionId; }
    public String getUserId() { return userId; }
    public void setUserId(String userId) { this.userId = userId; }
    public String getDeviceId() { return deviceId; }
    public void setDeviceId(String deviceId) { this.deviceId = deviceId; }
    public int getAmount() { return amount; }
    public void setAmount(int amount) { this.amount = amount; }
    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }
    public long getTimestamp() { return timestamp; }
    public void setTimestamp(long timestamp) { this.timestamp = timestamp; }
    public Long getRefundTimestamp() { return refundTimestamp; }
    public void setRefundTimestamp(Long refundTimestamp) { this.refundTimestamp = refundTimestamp; }
}